package com.example.lotterysystem.controller.result;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description: 奖品列表返回值
 * User: Spider-Man
 * Date: 2025-09-11
 * Time: 18:04
 */
@Data
public class FindPrizeListResult implements Serializable {
    private Integer total;//奖品总数

    //当前列表
    private List<PrizeInfo> records;


    @Data
    public static class PrizeInfo implements Serializable {
        private Long prizeId;//奖品id
        private String prizeName;//奖品名称
        private String description;//奖品描述
        private BigDecimal price;//奖品价格
        private String imageUrl;//奖品图片
    }
}
